﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A1F RID: 2591
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LeaveAetherDivideSceneScRsp : IMessage<LeaveAetherDivideSceneScRsp>, IMessage, IEquatable<LeaveAetherDivideSceneScRsp>, IDeepCloneable<LeaveAetherDivideSceneScRsp>, IBufferMessage
	{
		// Token: 0x170020C0 RID: 8384
		// (get) Token: 0x06007410 RID: 29712 RVA: 0x00136540 File Offset: 0x00134740
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LeaveAetherDivideSceneScRsp> Parser
		{
			get
			{
				return LeaveAetherDivideSceneScRsp._parser;
			}
		}

		// Token: 0x170020C1 RID: 8385
		// (get) Token: 0x06007411 RID: 29713 RVA: 0x00136547 File Offset: 0x00134747
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LeaveAetherDivideSceneScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170020C2 RID: 8386
		// (get) Token: 0x06007412 RID: 29714 RVA: 0x00136559 File Offset: 0x00134759
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LeaveAetherDivideSceneScRsp.Descriptor;
			}
		}

		// Token: 0x06007413 RID: 29715 RVA: 0x00136560 File Offset: 0x00134760
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LeaveAetherDivideSceneScRsp()
		{
		}

		// Token: 0x06007414 RID: 29716 RVA: 0x00136568 File Offset: 0x00134768
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LeaveAetherDivideSceneScRsp(LeaveAetherDivideSceneScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007415 RID: 29717 RVA: 0x0013658D File Offset: 0x0013478D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LeaveAetherDivideSceneScRsp Clone()
		{
			return new LeaveAetherDivideSceneScRsp(this);
		}

		// Token: 0x170020C3 RID: 8387
		// (get) Token: 0x06007416 RID: 29718 RVA: 0x00136595 File Offset: 0x00134795
		// (set) Token: 0x06007417 RID: 29719 RVA: 0x0013659D File Offset: 0x0013479D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06007418 RID: 29720 RVA: 0x001365A6 File Offset: 0x001347A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LeaveAetherDivideSceneScRsp);
		}

		// Token: 0x06007419 RID: 29721 RVA: 0x001365B4 File Offset: 0x001347B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LeaveAetherDivideSceneScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600741A RID: 29722 RVA: 0x001365E4 File Offset: 0x001347E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600741B RID: 29723 RVA: 0x00136623 File Offset: 0x00134823
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600741C RID: 29724 RVA: 0x0013662B File Offset: 0x0013482B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600741D RID: 29725 RVA: 0x00136634 File Offset: 0x00134834
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600741E RID: 29726 RVA: 0x00136668 File Offset: 0x00134868
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600741F RID: 29727 RVA: 0x001366A6 File Offset: 0x001348A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LeaveAetherDivideSceneScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007420 RID: 29728 RVA: 0x001366D7 File Offset: 0x001348D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007421 RID: 29729 RVA: 0x001366E0 File Offset: 0x001348E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002C5C RID: 11356
		private static readonly MessageParser<LeaveAetherDivideSceneScRsp> _parser = new MessageParser<LeaveAetherDivideSceneScRsp>(() => new LeaveAetherDivideSceneScRsp());

		// Token: 0x04002C5D RID: 11357
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002C5E RID: 11358
		public const int RetcodeFieldNumber = 1;

		// Token: 0x04002C5F RID: 11359
		private uint retcode_;
	}
}
